gtk-demo: Undef GDK_DISABLE_DEPRECATED to make test compile
authorBenjamin Otte <otte@redhat.com>
Wed, 5 Jan 2011 22:25:33 +0000 (23:25 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 5 Jan 2011 22:50:22 +0000 (23:50 +0100)
demos/gtk-demo/changedisplay.c

index ac467e7385535c1f139ca5e643eb8474ce681a7e..951d3730ab312d98c1548ebddf8b826dcdb7f361 100644 (file)
@@ -27,6 +27,9 @@
  *  - Using GtkDialog
  */
 #include <string.h>
+
+#undef GDK_DISABLE_DEPRECATED
+
 #include <gtk/gtk.h>
 #include "demo-common.h"